package com.itheima.dao;

import com.github.pagehelper.Page;

import com.itheima.pojo.Setmeal;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SetmealDao {

    Boolean add(Setmeal setmeal);

    Boolean setSetmealAndCheckgroup(@Param("sid")Integer sid, @Param("ids") Integer[] ids);

    Page<Setmeal> findAll(String queryString);

    Setmeal findById(Integer id);

    List<Map<String,Object>> findSetMealCount();
}
